package dao;

import java.util.List;

import entity.Food;

public interface FoodDao {
	public void addFood(Food food);
	public void updateFood(Food food);
	public void deleteFood(int foodId);
	
	public List<Food> queryAllFood();
	public List<Food> queryFood(List<Food> foodList,int pageNum,int pageSize);
	public List<Food> queryFoodByTypeId(int foodTypeId);
	public Food queryFoodByFoodId(int foodId);
	
	public Integer queryFoodTotalCount(int foodTypeId);
	
	public Integer queryAllFoodTotalCount();
	
}
